const API_CONFIG = [
    {
        name: "getType",
        setCommonParam: true,
        namespace: "declare",
        headers: {
            "Content-Type": "application/json"
        },
        method: "get",
        params: {},
        path: "/management/small/declaration/category/tree",
        desc: "获取上报配置类型"
    },
    {
        name: "addType",
        setCommonParam: true,
        namespace: "declare",
        headers: {
            "Content-Type": "application/json"
        },
        method: "post",
        params: {},
        path: "/management/small/declaration/category/add",
        desc: "新增分类"
    },
    {
        name: "deleteType",
        setCommonParam: true,
        namespace: "declare",
        headers: {
            "Content-Type": "application/json"
        },
        method: "get",
        params: {},
        path: "/management/small/declaration/category/remove",
        desc: "删除分类"
    },
    {
        name: "changeSort",
        setCommonParam: true,
        namespace: "declare",
        headers: {
            "Content-Type": "application/json"
        },
        method: "post",
        params: {},
        path: "/management/small/declaration/category/sort",
        desc: "分类排序"
    },
    {
        name: "typeForm/list",
        setCommonParam: true,
        namespace: "declare",
        headers: {
            "Content-Type": "application/json"
        },
        method: "post",
        params: {},
        path: "/management/small/declaration/config/list",
        desc: "分类对应表单列表"
    },
    {
        name: "addForm",
        setCommonParam: true,
        namespace: "declare",
        headers: {
            "Content-Type": "application/json"
        },
        method: "post",
        params: {},
        path: "/management/small/declaration/config/add",
        desc: "添加配置表单"
    },
    {
        name: "updateForm",
        setCommonParam: true,
        namespace: "declare",
        headers: {
            "Content-Type": "application/json"
        },
        method: "post",
        params: {},
        path: "/management/small/declaration/config/update",
        desc: "修改配置表单"
    },
    {
        name: "deleteForm",
        setCommonParam: true,
        namespace: "declare",
        headers: {
            "Content-Type": "application/json"
        },
        method: "get",
        params: {},
        path: "/management/small/declaration/config/remove",
        desc: "删除配置表单"
    },
    {
        name: "changeReceiveOrCategory",
        setCommonParam: true,
        namespace: "declare",
        headers: {
            "Content-Type": "application/json"
        },
        method: "get",
        params: {},
        path: "/management/small/declaration/config/update/receiveOrCategory",
        desc: "修改接收人和分类"
    },
    {
        name: "handleList",
        setCommonParam: true,
        namespace: "declare",
        headers: {
            "Content-Type": "application/json"
        },
        method: "get",
        params: {},
        path: "/management/small/declaration/de/list/myReceive",
        desc: "上报处理列表"
    },
    {
        name: "checkData",
        setCommonParam: true,
        namespace: "declare",
        headers: {
            "Content-Type": "application/json"
        },
        method: "get",
        params: {},
        path: "/management/small/declaration/de/handle",
        desc: "上报处理确认上报"
    }
];
export default API_CONFIG;
